package javacore.Statements;

public class ConditionalOperator {

	public static void main(String[] args) {
		int x = 10, y = 15;
		int result;
		
		result = (x > y)? x : y;
		
		System.out.println("Greater value is : " + result);
	}

}
